<template>
    <div class="subpage withdraw-detail-container">
        <div class="withdraw-detail-box">
            <div class="withdraw-detail-box-top">
                <p>账户余额提现</p>
                <p class="color-primary">-20150元</p>
            </div>
            <ul class="withdraw-detail-box-bottom">
                <li>
                    <span>交易内容</span>
                    <span>账户余额提现</span>
                </li>
                <li>
                    <span>提现金额</span>
                    <span>20150元</span>
                </li>
                <li>
                    <span>手续费</span>
                    <span>2元</span>
                </li>
                <li>
                    <span>到账金额</span>
                    <span>20148元</span>
                </li>
                <li>
                    <span>交易时间</span>
                    <span>2019-04-20 14:21:22</span>
                </li>
                <li>
                    <span>交易编号</span>
                    <span>312123454124354</span>
                </li>
            </ul>
        </div>
    </div>
</template>

<script>
export default {
    created() {
        // console.log(this.$route.params.id)
        console.log(this.$route)
    }
}
</script>

<style lang="scss" scoped>
    .withdraw-detail-container {
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
        background-color: #fff;
        .withdraw-detail-box {
            width: 100%;
            .withdraw-detail-box-top {
                width: 100%;
                padding: 23px 0;
                box-sizing: border-box;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                border-bottom: 1px solid #f2f2f2;
                img {
                    width: 44px;
                    height: 44px;
                    object-fit: cover;
                }
                p {
                    margin-top: 14px;
                    font-size: 16px;
                }
                p:last-child {
                    font-weight: 500;
                }
            }
            .withdraw-detail-box-bottom {
                width: 100%;
                padding-top: 24px;
                box-sizing: border-box;
                li {
                    width: 100%;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 16px;
                    span {
                        &:first-child {
                            display: block;
                            width: 88px;
                            color: #969C9E;
                        }
                        &:last-child {
                            flex: 1;
                            color: #5D6164;
                        }
                    }
                    .check-btn {
                        color: #4572CF!important;
                    }
                }
            }
        }
    }
</style>